package com.google.gwt.it2tool.server;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.users.User;
 
@PersistenceCapable
public class MassProductionLvlJDO implements Serializable{
	
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long key;	
	
	@Persistent
	private int lvl;
	
	@Persistent
	private User user;
	
	public MassProductionLvlJDO(){
		
	}
	
	public MassProductionLvlJDO(int lvl, User u){
		this.lvl=lvl;
		this.user=u;
	}
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}	

	public int getLvl() {
		return lvl;
	}

	public void setLvl(int lvl) {
		this.lvl = lvl;
	}
}
